package com.aizhixin.lab.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class Config {
    @Value("${sys.version}")
    private String sysVersion;
    @Value("${zhixinapi.host}")
    private String zhiXinApiPath;
    @Value("${zhixinapi.currentuser}")
    private String zhiXinApiCurrentUser;
    @Value("${zhixinapi.adduser}")
    private String zhiXinApiAddUser;
    @Value("${zhixinapi.deleteuser}")
    private String zhiXinApiDeleteUser;
    @Value("${zhixinapi.updatepassword}")
    private String zhiXinApiUpdatePassword;
    @Value("${zhixinapi.oauthtoken}")
    private String zhiXinApiOauthToken;
    @Value("${rdsapi.host}")
    private String rdsApiPath;
    @Value("${rdsapi.savevm}")
    private String rdsApiSaveVM;
    @Value("${server.tomcat.basedir}")
    private String baseDir;
    @Value("${upload.iotoken}")
    private String uploadIOToken;
    @Value("${upload.ioupload}")
    private String uploadIOURL;
    @Value("${upload.polyvtoken}")
    private String uploadPolyvToken;
    @Value("${upload.qiniutoken}")
    private String uploadQiniuToken;
    @Value("${upload.accessKey}")
    private String  accessKey;
    @Value("${upload.secretKey}")
    private String secretKey;
    @Value("${upload.bucket}")
    private  String bucket;
    @Value("${upload.domainOfBucket}")
    private String  domainOfBucket;
    @Value("${upload.polyvWriteToken}")
    private String  polyvWriteToken;
    @Value("${upload.polyvReadToken}")
    private String  polyvReadToken;
    @Value("${docker.host}")
    private String dockerHost;

    @Value("${docker.expire}")
    private Long expire;
}
